﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zarzadzanie_Restautacja.Model
{
    [Table("Potrawy", Schema = "dbo")]
    public class Potrawa
    {
        # region Properties
        
        [Column("Id"),DatabaseGenerated(DatabaseGeneratedOption.None), Key ]
        public int Id { get; set; }
        [Column("Nazwa"), MaxLength(255)]
        public string Nazwa { get; set; }
        [Column("Cena")]
        public double Cena { get; set; }

        #endregion Properties
    }
}
